import os

os.chdir(r"D:\PycharmProjects\national_computer_rank_examination\文件和数据维度")

list = ["北京","上海","杭州","天津"]

f = open("address.csv", 'w', encoding="utf-8")
f.write(','.join(list)+"\n")

f.close()
